﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlanningGIS.Win.Controls
{

    /// <summary>
    /// 分页事件
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void DelegatePageIndexChanged(object sender, PageEventArgs e);
    /// <summary>
    /// 分页事件参数信息
    /// </summary>
    public class PageEventArgs : EventArgs
    {
        /// <summary>
        /// 创建实例
        /// </summary>
        public PageEventArgs()
            : base()
        {

        }
        /// <summary>
        /// 获取或设置当前页码
        /// </summary>
        public long PageIndex { get; set; }
        /// <summary>
        /// 获取或设置每页显示的记录条数
        /// </summary>
        public long PageSize { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long MinRowIndex
        {
            get;
            set;
        }
        /// <summary>
        /// 
        /// </summary>
        public long MaxRowIndex
        {
            get;
            set;
        }
    }
}
